package com.hibase.core.sequence.service;


import com.github.pagehelper.PageInfo;
import com.hibase.core.mybatis.service.BaseService;
import com.hibase.core.sequence.entity.MdsCodeSequence;
import com.hibase.core.sequence.entity.vo.MdsCodeSequenceSearchVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hufeng
 * @since 2019-03-27
 */
public interface MdsCodeSequenceService extends BaseService<MdsCodeSequence> {

    /**
     * 查询订单序列规则表列表
     *
     * @param searchVO
     * @return
     */
    PageInfo<MdsCodeSequence> selectMdsCodeSequenceList(MdsCodeSequenceSearchVO searchVO);

    /**
     * 改变订单序列规则表记录
     *
     * @param entity
     * @return
     */
    void saveMdsCodeSequence(MdsCodeSequence entity);

    /**
     * 查询订单序列规则表详情
     *
     * @param id
     * @return
     */
    MdsCodeSequence viewMdsCodeSequence(String id);

    /**
     * 删除订单序列规则表
     *
     * @param id
     */
    void deleteMdsCodeSequence(String id);

    /**
     * 启用禁用订单序列规则
     *
     * @param ids
     */
    void changeMdsCodeSequence(List<String> ids, String status);


}
